projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359534e
)
placesview: Fix wrong property type when creating a GtkLabel
author
Ting-Wei Lan
<lantw@src.gnome.org>
Wed, 5 Aug 2015 15:09:03 +0000
(23:09 +0800)
committer
Ting-Wei Lan
<lantw@src.gnome.org>
Wed, 5 Aug 2015 15:31:13 +0000
(23:31 +0800)
The type of xalign property of GtkLabel is float, not int. Using wrong type
crashes GtkFileChooser on x86_64 when compiling with clang.
https://bugzilla.gnome.org/show_bug.cgi?id=753284
gtk/gtkplacesview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacesview.c
b/gtk/gtkplacesview.c
index bbeb6c271f0c934c7f2d376ac4a4a01afdda0333..038ba83e4a58606bd8b870e9773cf53823d50d62 100644
(file)
--- a/
gtk/gtkplacesview.c
+++ b/
gtk/gtkplacesview.c
@@
-1663,7
+1663,7
@@
listbox_header_func (GtkListBoxRow *row,
"hexpand", TRUE,
"use_markup", TRUE,
"label", text,
- "xalign", 0,
+ "xalign", 0
.0f
,
NULL);
g_object_set (label,